# $Id$
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>

pkgname=ristretto
pkgver=0.0.93
pkgrel=1
pkgdesc="Ristretto is a image viewer for Xfce"
arch=('ppc')
url="http://goodies.xfce.org/projects/applications/ristretto"
license=('GPL2')
depends=('libexif' 'gtk2' 'glib2' 'dbus-glib' 'libxfce4util' 'libxfce4ui' 
				'desktop-file-utils' 'hicolor-icon-theme' 'xfconf')
makedepends=('intltool' 'pkg-config')
options=('!libtool')
groups=('xfce4-goodies')
source=(http://archive.xfce.org/src/apps/$pkgname/0.0/$pkgname-$pkgver.tar.bz2)
install=ristretto.install
md5sums=('74dcdf0fcbf7039852b817732a91fb6c')

build() {
  cd ${srcdir}/$pkgname-$pkgver
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--localstatedir=/var
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver
  make DESTDIR=${pkgdir} install
}
